home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 March: Reference Library / Dev.CD Mar 96 RL / Dev.CD Mar 96 RL.toast / Technical Documentation / develop / develop Issue 17 / develop Issue 17 code / TapBoard.sea / TapBoard / Project Data < prev    next >
MacBinary  |  1993-10-23  |  2.1 KB  |  [TEXT/NTP1]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Oct 23 21:35:52 1993, modified Sat Oct 23 21:35:52 1993, creator 'NTP1', type ASCII, 993 bytes "Project Data" , at 0x461 935 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[NTP1]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 50 72 6f 6a 65 63 | 74 20 44 61 74 61 00 00 |..Projec|t Data..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4e 54 50 | 31 01 00 00 00 00 00 00 |.TEXTNTP|1.......|
|00000050| 00 00 00 00 00 03 e1 00 | 00 03 a7 a8 ef 8c 78 a8 |........|......x.|
|00000060| ef 8c 78 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..x.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 94 6c 00 00 |........|.....l..|
|00000080| 2f 2f 20 57 68 6f 20 77 | 65 20 61 72 65 3a 0d 63 |// Who w|e are:.c|
|00000090| 6f 6e 73 74 61 6e 74 20 | 6b 41 70 70 53 79 6d 62 |onstant |kAppSymb|
|000000a0| 6f 6c 20 3a 3d 20 27 7c | 54 61 70 42 6f 61 72 64 |ol := '||TapBoard|
|000000b0| 3a 43 68 65 73 6c 65 79 | 7c 3b 0d 63 6f 6e 73 74 |:Chesley||;.const|
|000000c0| 61 6e 74 20 6b 50 61 63 | 6b 61 67 65 4e 61 6d 65 |ant kPac|kageName|
|000000d0| 20 3a 3d 20 22 54 61 70 | 42 6f 61 72 64 3a 43 68 | := "Tap|Board:Ch|
|000000e0| 65 73 6c 65 79 22 3b 0d | 0d 2f 2f 20 45 61 63 68 |esley";.|.// Each|
|000000f0| 20 73 71 75 61 72 65 20 | 6f 6e 20 74 68 65 20 62 | square |on the b|
|00000100| 6f 61 72 64 20 63 61 6e | 20 62 65 20 65 6d 70 74 |oard can| be empt|
|00000110| 79 2c 20 63 6f 6e 74 61 | 69 6e 20 61 20 6e 65 77 |y, conta|in a new|
|00000120| 74 6f 6e 20 70 69 65 63 | 65 2c 20 6f 72 20 63 6f |ton piec|e, or co|
|00000130| 6e 74 61 69 6e 0d 2f 2f | 20 61 20 75 73 65 72 20 |ntain.//| a user |
|00000140| 70 69 65 63 65 3b 20 66 | 6f 72 20 74 68 65 20 63 |piece; f|or the c|
|00000150| 6f 6e 76 65 6e 69 65 6e | 63 65 20 6f 66 20 74 68 |onvenien|ce of th|
|00000160| 65 20 63 6f 6d 70 75 74 | 65 72 20 6d 6f 76 65 20 |e comput|er move |
|00000170| 61 6c 67 6f 72 69 74 68 | 6d 73 2c 20 74 68 65 0d |algorith|ms, the.|
|00000180| 2f 2f 20 62 6f 61 72 64 | 20 61 72 72 61 79 20 69 |// board| array i|
|00000190| 73 20 6d 61 64 65 20 6f | 6e 65 20 73 71 75 61 72 |s made o|ne squar|
|000001a0| 65 20 6c 61 72 67 65 72 | 20 69 6e 20 65 61 63 68 |e larger| in each|
|000001b0| 20 64 69 72 65 63 74 69 | 6f 6e 73 20 61 6e 64 20 | directi|ons and |
|000001c0| 74 68 65 20 65 64 67 65 | 73 20 61 72 65 0d 2f 2f |the edge|s are.//|
|000001d0| 20 66 69 6c 6c 65 64 20 | 69 6e 20 77 69 74 68 20 | filled |in with |
|000001e0| 61 20 73 70 65 63 69 61 | 6c 20 76 61 6c 75 65 20 |a specia|l value |
|000001f0| 28 30 29 2e 20 41 6c 73 | 6f 20 6e 6f 74 65 20 74 |(0). Als|o note t|
|00000200| 68 61 74 20 69 66 20 70 | 20 69 73 20 6f 6e 65 20 |hat if p| is one |
|00000210| 70 6c 61 79 65 72 2c 20 | 2d 70 20 69 73 0d 2f 2f |player, |-p is.//|
|00000220| 20 74 68 65 20 6f 74 68 | 65 72 20 70 6c 61 79 65 | the oth|er playe|
|00000230| 72 2e 20 54 68 65 73 65 | 20 63 6f 6e 73 74 61 6e |r. These| constan|
|00000240| 74 73 20 61 72 65 20 61 | 6c 73 6f 20 75 73 65 64 |ts are a|lso used|
|00000250| 20 74 6f 20 69 6e 64 69 | 63 61 74 65 20 77 68 6f | to indi|cate who|
|00000260| 73 65 20 74 75 72 6e 20 | 69 74 20 69 73 2e 0d 63 |se turn |it is..c|
|00000270| 6f 6e 73 74 61 6e 74 20 | 6b 45 6d 70 74 79 53 71 |onstant |kEmptySq|
|00000280| 75 61 72 65 20 3a 3d 20 | 6e 69 6c 3b 0d 63 6f 6e |uare := |nil;.con|
|00000290| 73 74 61 6e 74 20 6b 4e | 65 77 74 6f 6e 50 69 65 |stant kN|ewtonPie|
|000002a0| 63 65 20 3a 3d 20 2d 31 | 3b 0d 63 6f 6e 73 74 61 |ce := -1|;.consta|
|000002b0| 6e 74 20 6b 55 73 65 72 | 50 69 65 63 65 20 3a 3d |nt kUser|Piece :=|
|000002c0| 20 31 3b 0d 63 6f 6e 73 | 74 61 6e 74 20 6b 42 6f | 1;.cons|tant kBo|
|000002d0| 61 72 64 45 64 67 65 20 | 3a 3d 20 30 3b 0d 63 6f |ardEdge |:= 0;.co|
|000002e0| 6e 73 74 61 6e 74 20 6b | 54 69 65 57 69 6e 6e 65 |nstant k|TieWinne|
|000002f0| 72 20 3a 3d 20 30 3b 0d | 0d 52 65 6d 6f 76 65 53 |r := 0;.|.RemoveS|
|00000300| 63 72 69 70 74 20 3a 3d | 20 66 75 6e 63 28 70 61 |cript :=| func(pa|
|00000310| 63 6b 61 67 65 46 72 61 | 6d 65 29 0d 62 65 67 69 |ckageFra|me).begi|
|00000320| 6e 0d 20 20 20 6c 6f 63 | 61 6c 20 63 75 72 73 6f |n. loc|al curso|
|00000330| 72 20 3a 3d 20 51 75 65 | 72 79 28 47 65 74 53 74 |r := Que|ry(GetSt|
|00000340| 6f 72 65 73 28 29 5b 30 | 5d 3a 47 65 74 53 6f 75 |ores()[0|]:GetSou|
|00000350| 70 28 52 4f 4d 5f 53 79 | 73 74 65 6d 53 6f 75 70 |p(ROM_Sy|stemSoup|
|00000360| 4e 61 6d 65 29 2c 0d 20 | 20 20 20 20 20 20 20 20 |Name),. | |
|00000370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000380| 20 20 7b 74 79 70 65 3a | 20 27 69 6e 64 65 78 2c | {type:| 'index,|
|00000390| 20 69 6e 64 65 78 50 61 | 74 68 3a 20 27 74 61 67 | indexPa|th: 'tag|
|000003a0| 2c 20 73 74 61 72 74 4b | 65 79 3a 20 6b 50 61 63 |, startK|ey: kPac|
|000003b0| 6b 61 67 65 4e 61 6d 65 | 2c 0d 20 20 20 20 20 20 |kageName|,. |
|000003c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003d0| 20 20 20 20 20 20 76 61 | 6c 69 64 54 65 73 74 3a | va|lidTest:|
|000003e0| 20 66 75 6e 63 28 69 74 | 65 6d 29 20 53 74 72 45 | func(it|em) StrE|
|000003f0| 71 75 61 6c 28 69 74 65 | 6d 2e 74 61 67 2c 20 6b |qual(ite|m.tag, k|
|00000400| 50 61 63 6b 61 67 65 4e | 61 6d 65 29 7d 29 3b 0d |PackageN|ame)});.|
|00000410| 20 20 20 69 66 20 63 75 | 72 73 6f 72 3a 45 6e 74 | if cu|rsor:Ent|
|00000420| 72 79 28 29 20 3c 3e 20 | 6e 69 6c 20 74 68 65 6e |ry() <> |nil then|
|00000430| 0d 20 20 20 20 20 20 45 | 6e 74 72 79 52 65 6d 6f |. E|ntryRemo|
|00000440| 76 65 46 72 6f 6d 53 6f | 75 70 28 63 75 72 73 6f |veFromSo|up(curso|
|00000450| 72 3a 45 6e 74 72 79 28 | 29 29 3b 0d 65 6e 64 3b |r:Entry(|));.end;|
|00000460| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 00 00 00 03 09 | 00 00 02 09 00 00 00 9e |........|........|
|00000490| 00 0c 28 6e 00 08 2f 0c | 48 6e ff 9e 4e b9 00 00 |..(n../.|Hn..N...|
|000004a0| 22 7a 48 6e ff 9e 4e b9 | 00 00 22 82 26 40 4f ef |"zHn..N.|..".&@O.|
|000004b0| 0c 50 72 6f 6a 65 63 74 | 20 44 61 74 61 9b 02 00 |.Project| Data...|
|000004c0| 00 00 54 45 58 54 4e 54 | 50 31 01 00 00 3c 00 00 |..TEXTNT|P1...<..|
|000004d0| 00 00 54 45 58 54 4e 54 | 50 31 01 00 00 3c 00 00 |..TEXTNT|P1...<..|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 a8 91 d1 00 00 00 | 03 e1 00 00 03 a7 66 b4 |........|......f.|
|00000500| 20 54 21 47 00 ac 70 02 | 2f 00 48 6e ff 9e 4e b9 | T!G..p.|/.Hn..N.|
|00000510| 00 00 35 5a 50 4f 4c ee | 18 80 ff 92 4e 5e 4e 74 |..5ZPOL.|....N^Nt|
|00000520| 00 08 4e 56 ff b8 2f 0c | 28 6e 00 08 59 8f 2f 0c |..NV../.|(n..Y./.|
|00000530| 4e b9 00 00 1b 12 2d 5f | ff fc 41 ee ff fc 20 6e |N.....-_|..A... n|
|00000540| ff fc 20 50 70 00 21 40 | 00 a8 20 6e ff fc 20 50 |.. Pp.!@|.. n.. P|
|00000550| 11 7c 00 01 00 a5 20 6e | ff fc 20 50 11 7c 00 01 |.|.... n|.. P.|..|
|00000560| 00 a4 20 6e ff fc 20 50 | 31 7c ff ff 00 a6 20 54 |.. n.. P|1|.... T|
|00000570| 4a a8 00 a8 67 4a 41 ee | ff b8 48 6e ff b8 4e b9 |J...gJA.|..Hn..N.|
|00000580| 00 00 00 24 00 03 00 02 | 00 7b de 50 00 7b dd 78 |...$....|.{.P.{.x|
|00000590| 00 7b dd 90 00 7b dd 70 | 00 00 00 00 02 bb 00 01 |.{...{.p|........|
|000005a0| 02 e5 00 00 03 e2 ff ff | 00 00 00 24 00 02 00 0c |........|...$....|
|000005b0| 00 0a 00 03 00 00 00 09 | 00 00 00 00 00 00 00 01 |........|........|
|000005c0| 00 0b 00 09 00 04 00 00 | 00 09 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 01 12 06 4d 6f 6e | 61 63 6f 00 00 00 00 00 |.....Mon|aco.....|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| ff ff ff ff ff ff 00 00 | 00 0f 0e 4e 65 77 74 6f |........|...Newto|
|000006f0| 6e 20 54 6f 6f 6c 6b 69 | 74 00 00 00 78 00 03 00 |n Toolki|t...x...|
|00000700| 00 00 48 00 48 00 00 00 | 00 02 da 02 28 ff e1 ff |..H.H...|....(...|
|00000710| e2 02 f9 02 46 03 47 05 | 28 03 fc 00 02 00 00 00 |....F.G.|(.......|
|00000720| 48 00 48 00 00 00 00 02 | da 02 28 00 01 00 00 00 |H.H.....|..(.....|
|00000730| 64 00 00 00 01 00 01 01 | 01 00 00 00 01 27 0f 00 |d.......|.....'..|
|00000740| 01 00 01 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 02 00 19 01 90 00 00 00 | 00 00 40 00 00 00 00 00 |........|..@.....|
|00000760| 00 00 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 10 00 00 00 90 00 00 05 |........|........|
|00000780| d1 00 00 01 f8 00 00 07 | 75 00 00 01 00 00 00 03 |........|u.......|
|00000790| 09 00 00 02 09 00 00 00 | 9e 00 7b eb e0 1d 04 00 |........|..{.....|
|000007a0| 00 00 1c 00 8e 00 04 53 | 54 59 4c 00 01 00 2a 53 |.......S|TYL...*S|
|000007b0| 50 45 43 00 00 00 42 53 | 54 52 20 00 00 00 4e 50 |PEC...BS|TR ...NP|
|000007c0| 52 4e 54 00 00 00 5a 50 | 4a 53 54 00 00 00 66 00 |RNT...ZP|JST...f.|
|000007d0| 01 ff ff 00 00 00 00 00 | 7b cb cc 00 02 ff ff 00 |........|{.......|
|000007e0| 00 00 28 00 7b cc e4 00 | 01 ff ff 00 00 00 50 00 |..(.{...|......P.|
|000007f0| 7b ce 5c bf f4 ff ff 00 | 00 01 66 00 7b cf f8 00 |{.\.....|..f.{...|
|00000800| 01 ff ff 00 00 01 79 00 | 7b cd 68 27 0f 00 00 00 |......y.|{.h'....|
|00000810| 00 01 f5 00 7b ce 70 0f | 57 69 6e 64 6f 77 20 53 |....{.p.|Window S|
|00000820| 65 74 74 69 6e 67 73 00 | 00 00 00 00 00 00 00 00 |ettings.|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+